package com.cloud.common.constant;

public final class RabbitmqOrderConstants {

    //直连模式配置
    public static final String ORDER_DIRECT_EXCHANGE = "OrderDirectExchange";
    public static final String ORDER_DIRECT_QUEUE = "OrderDirectQueue";
    public static final String ORDER_DIRECT_ROUTING = "OrderDirectRouting";
    //主题模式配置
    public static final String ORDER_TOPIC_EXCHANGE = "OrderTopicExchange";
    public static final String ORDER_TOPIC_QUEUE = "OrderTopicQueue";
    public static final String ORDER_TOPIC_ROUTING = "topic.#";
    //广播配置
    public static final String ORDER_FANOUT_EXCHANGE = "OrderFanoutExchange";
    public static final String ORDER_FANOUT_QUEUE = "OrderFanoutQueue";

    //延迟队列
    public static final String ORDER_DELAYED_EXCHANGE = "OrderDelayedExchange";
    public static final String ORDER_DELAYED_QUEUE = "OrderDelayedQueue";
    public static final String ORDER_DELAYED_ROUTING = "delayed.#";

    //死信队列
    public static final String ORDER_DEAD_EXCHANGE = "OrderDeadExchange";
    public static final String ORDER_DEAD_QUEUE = "OrderDeadQueue";
    public static final String ORDER_DEAD_ROUTING = "dead.#";
}
